<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<text class="logo-title">非羽</text>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<view class="line">
			<image class="sub" src="../../static/env02.png"></image>
			<input type="text" placeholder="请输入机具编码"/>
			<image class="sao" src="../../static/env01.png"></image>
		</view>
		<view class="line">
			<image class="sub" src="../../static/env03.png"></image>
			<input type="text" placeholder="请输入身份证真实姓名"/>
		</view>
		<view class="line">
			<image class="sub" src="../../static/env04.png"></image>
			<input type="text" placeholder="请输入推荐码 (选填)"/>
		</view>
		<view class="anniu">
			<button class="login" @click="toTabHome">绑定</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '为保障您的收益，请务必绑定“本人使用的设备'
			}
		},
		onLoad() {

		},
		methods: {
			toTabHome(){
				uni.switchTab({
					url: '/pages/home/index'
				})
			}
		}
	}
</script>

<style scoped>
	page{
		background: #f6f6f6;
		
	}
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background-color: #f5f5f5;
	}

	.logo {
		height: 100rpx;
		width: 100rpx;
		margin-top: 40rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10rpx;
		border-radius: 50%;
	}
	.sub {
		height: 50rpx;
		width: 50rpx;
		float: left;
		margin-right: 30rpx;
	}
	.sao {
		height: 50rpx;
		width: 50rpx;
		float: left;
	}
	uni-input{
		float: left;
		width: 76%;
	}
	.logo-title{
		font-size: 32rpx;
		color: #333;
		font-weight: 600;
		margin-bottom: 36rpx;
	}
	.anniu{
		width: 100%;
	}
	.login{
		margin-top: 30rpx;
		background: #742288;
		color: #fff;
		font-size: 32rpx;
		width: 90%;
	}
	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 28rpx;
		color: #333;
		font-weight: 600;
		margin-bottom: 36rpx;
	}
	.line{
		background: #fff;
		width: 84%;
		border-radius: 10rpx;
		padding: 30rpx;
		margin-bottom: 24rpx;
		color: #333;
	}
</style>
